package com.editso.haier.dao;

import com.editso.haier.entity.ShoppingCar;
import com.editso.haier.entity.User;

import java.util.List;
import java.util.Optional;

public interface ShoppingCarDao extends Dao<ShoppingCar, String> {
    List<ShoppingCar> findAllByUserId(String id);

    Optional<ShoppingCar> findByCommodityId(String id);
}
